#include<iostream>
using namespace std;
int main()
{
	unsigned u1 = 10, u2 = 42;
	cout << u1 - u2 << endl;
	cout << u2 - u1 << endl;
	int i = 10, x = 42;
	cout << i - x << endl;
	cout << x - i<<endl;
	cout << i - u1 << endl;
	cout << u1 - i << endl;

	return 0;
}